body {
	margin: 0;
	padding: 0;
	background-color: #aaa;
	font-family: sans-serif;
	font-size: 11pt;
}

div#wrapper {
	margin: 0 auto;
	width: 600pt;
	background-color: white;
}

header {
	margin: 0;
	padding: 5%;
	background-color: #ddd;
}

header h1 {
	margin: 0;
	padding: 0;
}

header h2 {
	margin: 0;
	padding: 0;
}

nav {
	margin: 0;
	padding: 5pt 2.5%;
	background-color: #ccc;
	height: 22pt;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

nav li {
	padding: 5pt 2.5%;
	float: left;
}

section {
	clear: both;
	float: left;
	margin: 0;
	padding: 5%;
	width: 55%;
}

#news article {
	padding-bottom: 5%;
	border-top: 1px solid black;
}

#news article h1, #profile h1, #sendsolution h1 {
	margin: 0;
	padding: 0;
	font-size: 1.7em;
}

section h2{
	margin: 0;
	padding: 0;
	font-size: 0.8em;
}

#news article p {
	line-height: 14.5pt;
}

aside {
	float: right;
	margin: 0;
	padding: 5%;
	width: 25%;
}

aside h1 {
	margin: 0;
	padding: 10pt 0 0 0;
	font-size: 1.17em;
}

aside ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

aside li {
	line-height: 1.5em;
}

#problemlist table {
	width: 100%;
}

#problemlist td {
	padding: 10pt 5pt 2pt;
	border-bottom: 1px solid black;
}

#problemlist tr {
}

#problem h1 {
	font-size: 1.7em;
	padding: 0;
	margin: 0;
}

#problem h2 {
	font-size: 1.2em;
	margin: 0;
	padding: 20pt 0 5pt 0;
}

#problem p {
	padding: 0;
	margin: 0;
}

section table {
	width: 90%;
}

#submissions {
	width: 90%;
}

.subwait {
	background-color: #ddd;
}

.subok {
	background-color: #ac8;
}

.subbad {
	background-color: #c65;
}

.error {
	font-size: 0.8em;
	color: red;
}

footer {
	clear: both;
	margin: 0;
	padding: 10pt 30pt;
	background-color: #ddd;
}

footer p {
	padding: 0;
	margin: 0;
}

a {
	color: #555;
	text-decoration: none;
}

a:hover {
	color: #aaa;
}
